﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Rooms.aspx.cs" Inherits="QLHD.Rooms" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script language="javascript" type="text/javascript" src="/Scripts/PhongBan.js"></script>
    <script language="javascript" type="text/javascript" src="/Scripts/gridcolumn-control.js"></script>
    <script>
        mnggridid = "grid";
        contractpermistion = parseInt('<%=userpermistion %>');
        
    </script>
    <script type="text/x-kendo-template" id="contractmngtemplate">    
        <div class="toolbar">
            <% if(int.Parse(userpermistion)>=7) {%>
            <div class="function-button">
                <a class="k-button k-button-icontext k-grid-add"><span class="k-icon k-add"></span>Thêm phòng ban</a>
                <a class="k-button k-button-icontext k-grid-save-changes"><span class="k-icon k-update"></span>Lưu thay đổi</a>
                <a class="k-button k-button-icontext k-grid-cancel-changes"><span class="k-icon k-cancel"></span>Hủy thay đổi</a>
            </div>
            <%} %>
        </div>
        <kendo:grid-column-command>
            <kendo:grid-column-commandItem name="delete" text="Xóa" click="Delete"/>
        </kendo:grid-column-command>
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="SidebarContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <h1 class="caption">
        Danh sách phòng ban</h1>
    <div id="msg">
    </div>
    <div id="details">
    </div>
    <div id="grid">
    </div>
</asp:Content>
